from wwengine.models import build_backbone, build_neck, build_head
from wwengine.config import Config

if __name__ == '__main__':
    cfg = Config.fromfile('config/default.json')
    backbone = build_backbone(cfg._cfg_dict['Backbone'])
    neck = build_neck(cfg._cfg_dict['Neck'])
    head = build_head(cfg._cfg_dict['Head'])
    print(backbone)

